package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.dto.SetmealDto;
import com.itheima.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 套餐 服务类
 * </p>
 *
 * @author Guoyh
 * @since 2022-08-21
 */
public interface SetmealService extends IService<Setmeal> {

    void saveSetmal(SetmealDto setmealDto);

    Page selectByPage(int page, int pageSize, String name);

    void updateStatus(int flag, List<Long> ids);

    void removeWithDish(List<Long> ids);

    SetmealDto selectById(Long id);

    void updateSetmeal(SetmealDto setmealDto);
}
